package com.puyuba.puyuba.view.adapter;

import android.content.Context;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseViewHolder;
import com.puyuba.puyuba.R;
import com.pyb.java.basemodule.BaseAdapter;
import com.pyb.java.commonutil.ImageHelper;

import java.util.List;

public class MessageFindTeacherAdatper extends BaseAdapter<String> {
    private final Context context;
    private List<String> data;

    public MessageFindTeacherAdatper(Context context, @Nullable List<String> data) {
        super(context, R.layout.item_message_find_teacher, data);
        this.context = context;
        this.data = data;
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        ImageHelper.getInstance().displayWithCircle(helper.getView(R.id.iv_user),R.mipmap.default_avatar);
    }
    
}
